package agency;

/**
 * @author CC小天才
 * @website www.flyskill.cn
 * @date 2021/10/6 15:31
 **/

public class Client {
    public static void main(String[]args){
        IGamePlayer gamePlayer=new GamePlayer("王者荣耀");

        IGamePlayer iGamePlayer=new GamePlayerProxy((GamePlayer) gamePlayer);

        iGamePlayer.login("xzs","123");
        iGamePlayer.killBoss();
        iGamePlayer.upgrade();
    }
}
